<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>管理员列表</title>
</head>
<style>

    .f{
        text-align: center;
    }
</style>
<body>
<h1>管理员列表</h1>
<div class="f" >
<span id="Ajax" class="f">

<!-- </form>-->
 <table width="50%" class="table table-striped" >
    <thead >
    <h1 class="f"> <th class="f">管理员id</th>
        <th class="f">账号</th>
        <th class="f">管理员权限</th>
    </h1>
    </thead>
    <tbody class="f" >
    <tr th:each="guanli:${guanlilist}">
        <td th:text="${guanli.id}">null</td>
        <td th:text="${guanli.username}" >null</td>
          <td th:text="${guanli.permission}" >null</td>

       <td><a onclick="return confirm('确定要删除吗？');" th:href="@{/lgbs/DeleteByIdguanli/{id}(id=${guanli.id})} "  >删除</a></td>
<!--        <td><a onclick="doDelete();" th:href="@{/lgbs/DeleteByIdguanli/{id}(id=${guanli.id})} "  >删除</a></td>-->

    </tr>
    </tbody>

</table>
     <a th:href="@{/lgbs/homepage}">返回主页</a><!--点击跳入lgbs.homepage方法-->
    </span>
</div>
<script>

</script>
</body>
</html>